package com.sjj.cp.client.server;

import java.util.List;







import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.sjj.cp.shared.FormulaListado;
import com.sjj.cp.shared.MyGWTException;

@RemoteServiceRelativePath("FormulaService")
public interface FormulaService extends RemoteService {
	/**
	 * Utility class for simplifying access to the instance of async service.
	 */
	public static class Util {
		private static FormulaServiceAsync instance;
		public static FormulaServiceAsync getInstance(){
			if (instance == null) {
				instance = GWT.create(FormulaService.class);
			}
			return instance;
		}
	}
	
	
	public List<FormulaListado> obtenerFormulas()throws MyGWTException;


	void guardarCliente(String text, String text2, String text3, String text4,
			String text5, String text6, String text7, String text8,
			String text9, String text10, String text11,
			List<String> medicamentos) throws MyGWTException;
	
//	public void guardarFormula(String cedula, 
//	String nombres, 
//	String apellidos, 
//	String correo)throws MyGWTException;
	
//	public void eliminarFormula(String id)throws MyGWTException;
}
